Functions | Variables
ConnectSpecCamera Namespace Reference

Functions

def work_thread (cam, pData)
 

Variables

 currentsystem = platform.system()
 
 input_func = raw_input
 
bool g_bExit = False
 
 SDKVersion = MvCamera.MV_CC_GetSDKVersion()
 
 stDevInfo = MV_CC_DEVICE_INFO()
 
 stGigEDev = MV_GIGE_DEVICE_INFO()
 
 deviceIp = input_func("please input current camera ip : ")
 
 netIp = input_func("please input net export ip : ")
 
 deviceIpList = deviceIp.split('.')
 
 nCurrentIp
 
 netIpList = netIp.split('.')
 
 nNetExport
 
 nTLayerType
 
 stGigEInfo
 
 cam = MvCamera()
 
 ret = cam.MV_CC_CreateHandle(stDevInfo)
 
 nPacketSize = cam.MV_CC_GetOptimalPacketSize()
 
 hThreadHandle = threading.Thread(target=work_thread, args=(cam, None))
 

Function Documentation

◆ work_thread()

def ConnectSpecCamera.work_thread (   cam,
  pData 
)

Variable Documentation

◆ currentsystem

currentsystem = platform.system()

◆ input_func

input_func = raw_input

◆ g_bExit

bool g_bExit = False

◆ SDKVersion

SDKVersion = MvCamera.MV_CC_GetSDKVersion()

◆ stDevInfo

stDevInfo = MV_CC_DEVICE_INFO()

◆ stGigEDev

stGigEDev = MV_GIGE_DEVICE_INFO()

◆ deviceIp

deviceIp = input_func("please input current camera ip : ")

◆ netIp

netIp = input_func("please input net export ip : ")

◆ deviceIpList

deviceIpList = deviceIp.split('.')

◆ nCurrentIp

nCurrentIp

◆ netIpList

netIpList = netIp.split('.')

◆ nNetExport

nNetExport

◆ nTLayerType

nTLayerType

◆ stGigEInfo

stGigEInfo

◆ cam

cam = MvCamera()

◆ ret

ret = cam.MV_CC_CreateHandle(stDevInfo)

◆ nPacketSize

nPacketSize = cam.MV_CC_GetOptimalPacketSize()

◆ hThreadHandle

hThreadHandle = threading.Thread(target=work_thread, args=(cam, None))